package com.lmf.eduservice.entity.vo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 响应前端的章节数据格式，封装类
 */
@Data
@ToString
public class ChapterVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    private String title;

    //表示小节
    private List<VideoVo> children = new ArrayList<>();
}
